home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / bluez.prerm < prev    next >
Text File  |  2009-09-24  |  649b  |  23 lines

  1. #!/bin/sh -e
  2.  
  3. case "$1" in
  4.     failed-upgrade)
  5.         # work-around a upgrade breakage in 4.45-0ubuntu{1,2}
  6.         # this two broken versions only existed for around 24h in karmic
  7.         # and this change can be dropped soon again
  8.         # lp: #399482
  9.         dpkg --compare-versions "4.45-0ubuntu1" le "$2" && dpkg --compare-versions "$2" le "4.45-0ubuntu2" && exit 0
  10.         ;;
  11. esac
  12.  
  13. # Automatically added by dh_installinit
  14. if [ -x "/etc/init.d/bluetooth" ]; then
  15.     if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
  16.         invoke-rc.d bluetooth stop || exit $?
  17.     else
  18.         /etc/init.d/bluetooth stop || exit $?
  19.     fi
  20. fi
  21. # End automatically added section
  22.  
  23.